package models

import (
	"github.com/goravel/framework/database/orm"
	"goravel/app/models/common"
)

type CommentFilter struct {
	orm.Model
	Keywords      common.Array    `gorm:"column:keywords" form:"keywords" json:"keywords"`
	Digged        int             `gorm:"column:digged" form:"digged" json:"digged"`
	EnterFrom     common.Array    `gorm:"column:enter_from" form:"enter_from" json:"enter_from"`
	IpLabel       common.Array    `gorm:"column:ip_label" form:"ip_label" json:"ip_label"`
	SearchFilters []*SearchFilter `gorm:"many2many:search_comment"`
}
